miiphy: unify device list lookup
authorMike Frysinger <[email protected]>
Tue, 27 Jul 2010 22:35:09 +0000 (18:35 -0400)
committerBen Warren <[email protected]>
Mon, 9 Aug 2010 18:52:29 +0000 (11:52 -0700)
commit0daac97801fa5989d3740487aa824fbab9ff0503
treeef68e719ce34fb5064352ba0737b3ec6b63337e6
parent5700bb63522c2af9276f25a15448b61f19d72841
miiphy: unify device list lookup

Rather than have every func re-implement the list walking code, do it one
local function.  This shrinks the resulting object code a little while
making the source much more manageable.

Signed-off-by: Mike Frysinger <[email protected]>
Signed-off-by: Ben Warren <[email protected]>
common/miiphyutil.c